home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d15 / fntmgr.arc / USERGUID.TXT < prev   
Text File  |  1991-07-23  |  23KB  |  420 lines

  1. FONTMANAGER FOR WINDOWS - USER GUIDE
  2.  
  3.     FontManager automates the task of changing softfont entries in the
  4. PostScript application sections of WIN.INI. It was primarily written for
  5. users with more type 1 postscript fonts than can be contained in WIN.INI at
  6. one time. It will allow you to create pre-built FontPaks or font sets which
  7. can be quickly swapped into the desired PostScript printer section of Win.ini.
  8. It alleviates the common kludges of having multiple win.ini files that are
  9. activated as necessary. You may put more than one FontPak on a printer port,
  10. add individual fonts and save the contents of a printer port as a FontPak file.
  11. Thus, in addition to being able to build fontpaks in advance, you can modify
  12. the installed fonts on a port and save that setup to a FontPak for later use.
  13. You will still have to live with the Windows limit of approximately 150
  14. installed soft fonts on a port, however.
  15.     FontManager only manages .PFB and .PFM Postscript type 1 font files.
  16. It does not recognize nor deal with .AFM type files or other than Type 1
  17. postscript fonts.
  18.     Any time you modify the installed font set on a postscript port, the
  19. changes become effective in windows immediately. Unfortunately, most programs
  20. I've tried such as Page Maker and Word for Windows won't update their font
  21. resources when they receive the wm_WININICHANGE message from windows. They
  22. must be closed and re-opened.
  23.  
  24. WHAT FONTMANAGER DOES TO WIN.INI
  25.  
  26.     Quite simply, it just creates the necessary soft font lines to
  27. identify installed soft fonts. The lines have the following format:
  28.  
  29. FONTPAKINSTALLED=[pakname]     {used by FontManager}
  30. SOFTFONTS=XX
  31. SOFTFONTYY=[drive]:\[path]\[filename].PFM
  32. (or)
  33. SOFTFONTYY=[drive]:\[path]\[filename].PFM,[drive]:\[path]\[filename].PFB
  34.  
  35. The paths for .PFM and .PFB files may be as deep as you like and there is no
  36. need for any relationship between .PFM and .PFB directories. There is a limit
  37. of 40 characters for a path string.
  38.  
  39. FontManager also creates an application section in WIN.INI with the
  40. following lines:
  41.  
  42.     [FONTMANAGER]
  43.     FontManager=Installed
  44.     FMDIR={Full path to \FONT_MGR directory}
  45.  
  46. INSTALLING FONTMANAGER
  47.  
  48.     There are four basic files you will need to run FontManager:
  49.  
  50.     1. FONTMGR.EXE    This is the main executable file. It may be placed
  51.             anywhere you like, but I would suggest creating a
  52.             directory on the same drive as your windows directory
  53.             named [drive]:\FONT_MGR. If you don't create this
  54.             directory, the initial setup routine will create it
  55.             as this is where the master library and all Fontpaks will be             stored.
  56.             
  57.     2. HUGEARR.DLL    This is a windows Dynamic Link Library that handles
  58.             huge array processing. It must be placed in the main
  59.             windows directory unless you want to add the
  60.             \FONT_MGR directory to your path and we know you
  61.             dont want to do that. Included with this upload.
  62.  
  63.     3. PSETUP.DLL    This is a very small DLL library file which also must
  64.             be placed in the Windows main directory. It handles
  65.             all the printer setup routines.    It is the work of
  66.             Costas Kitsos, and it is included with this upload.
  67.  
  68.     4. VBRUN100.DLL    This is the main Visual Basic run time Dynamic Link
  69.             Library (DLL) file. It, too, must be located in your
  70.             windows directory. This file is also on CIS, MSLANG,
  71.             Lib 6, as VBRUN.ZIP
  72.  
  73.     Simply place these files in the correct directories, fire up windows
  74. and run FONTMGR.EXE. The first time you run FontMgr.EXE, only one menu item
  75. will be active - FILES/INITIAL SETUP. Simply click on the FILES menu and then
  76. INITIAL SETUP - it's the only one available.
  77.     You will first be asked what path you would like for installing the FontManager directory (\FONT_MGR). The default will be on your windows drive. You mau specify any path you wish. Just make sure your entry ends with \FONT_MGR.
  78.     You will be asked what drives you want searched for font files to catalog. You should search all drives which may contain type 1 font files. 
  79.  
  80.     This process may take a few minutes on machines with huge hard drives and/or
  81. a very large number of fonts. When testing on a 386/33 with hyperdisk and a
  82. total of 2034 PFM and 2034 PFB files, it took about 3 minutes to search, build
  83. indexs, sort, and create the master file.
  84.  
  85. FONTMANAGER LIMITATIONS
  86.  
  87.     FontManager is capable of managing up to 2048 type 1 postscript fonts.
  88. As with most PC programs, this limit has its roots in the "Sector" format of
  89. DOS memory. Handling more than this number of fonts would require foregoing
  90. some very fast binary string processing, or in short, it would slow things
  91. down a bunch.
  92.     Further, FontManager is limited to 6 installed PostScript ports in
  93. WIN.INI. If you have more than six, FontManger will only work with the first
  94. six it finds.
  95.     FontManager has not been designed for or tested with any network
  96. environments.
  97.  
  98. WHAT INITIAL SETUP DOES
  99.  
  100.     First it searches the drives you indicate for all .PFM and .PFB files
  101. and catalogs them. It then matches up .PFM and .PFB files for the same font.
  102. Missing .PFB files are no problem and will be normal for users with fonts
  103. stored on a printer's hard disk. It will list any .PFB files it finds without
  104. a matching .PFM file, however. Fonts with a .PFM file but no .PFB file are
  105. forced to a PRINTER RESIDENT status when creating FontPaks and adding these
  106. fonts to a port regardless of how you set the resident/not resident option at
  107. that time.
  108.     Initial setup also tests for any duplicate .PFM files. FontManager will not work properly if there are any duplicate .PFM files for the same font in the Library. It simply has no way of knowing which one to use. If there are any duplicate .PFM file found, a critical warning diaplog box is displayed. Selecting OK to this dialog box will result in a printed list of all duplicates and where they are located.
  109.     The master font library file and all fontpak files you later create will be placed in the Font_mgr directory created at initial setup. If for any reason you opt to move the \FONT_MGR directory, you will also need to change to FMDIR={fullpath} line in the [FONTMANAGER] application section of WIN.INI to reflect its new location.
  110.     Once you have run the initial setup, all the other menu options will
  111. be activated, and the INITIAL SETUP menu will be disabled. The only way you
  112. can run INITIAL SETUP again is to manually delete the LIBRARY.FNT file from
  113. the \FONT_MGR directory, and delete the entire [FONTMANGER] application section in WIN.INI. Doing this will invalidate all then existing FontPak files, so you might as well delete them, too, unless you want some real goofy fonts.
  114.  
  115.     To get a printed listing of your Font Library, simply use the PRINT
  116. MASTER LIBRARY menu under the FILES menu. This listing will be needed if you
  117. opt to use Font ID numbers for creating fontpaks. It's also a good reference
  118. of all the Type 1 postscript fonts you have on your system.
  119.  
  120. LIBRARY.FNT MASTER FILE
  121.  
  122.     This file is created when the initial setup is run. It is a random
  123. access file with information on all the fonts Initial Setup and subsequent
  124. Updates find on user selected logical disk drives. If this file is ever
  125. deleted and re-created using Initial Setup, ALL EXISTING FONTPAK FILES WILL
  126. BE INVALID AND MUST BE DELETED. I STRONGLY SUGGEST MANUALLY MAKING A BACKUP
  127. COPY OF THIS FILE AFTER INITIAL INSTALLATION AND ANY TIME IT IS UPDATED WITH
  128. THE UPDATE PROCEDURE.
  129.  
  130. UPDATE MASTER FILE
  131.  
  132.     This procedure allows you to add new fonts and record changed locations of existing fonts in the master library. It simply searches an entire directory for .pfm and .pfb files, and adds ones not currently in the master directory.
  133.     Unlike initial setup, update is done on individual directories. A drive\directory list box is displayed. You simply click on the directories you want updated and press Add Directory. It will then appear in the selected list. You must actually select each individual directory you want to update as only the selected directory and NOT any lower directories on that branch will be updated. You may select a directory at any level it appears.
  134.  
  135.     For example, if you want the \psfonts and the \psfonts\pfm directories, you'll select each of these directories and the selected list will look like this:
  136.     
  137.     c:\psfonts
  138.     c:\psfonts\pfm
  139.  
  140. CREATING FONTPAKS
  141.  
  142.     You may create FontPaks in one of two ways. You may either enter the
  143. desired fonts by their Font ID Number as shown on the printed Master Library
  144. Catalog, or you can select fonts based on thier full name from a displayed
  145. selection list.  
  146.     When using the Font ID method, I used a technique not normally found
  147. in window apps. You enter the font ID number in a text box and press enter to
  148. accept it. Normally in windows apps, pressing enter selects the OK or CONTINUE
  149. or some such command button while the tab key usually accepts data from a text
  150. box. As only numbers are used to create FontPaks in this mode and the TAB key
  151. is on the other side of the keyboard, I used this ENTER method. If you enter
  152. an incorrect font ID, just select the appropriate displayed line for it and
  153. press the delete button.
  154.     When selecting fonts based on font names, a more traditional windows
  155. approach is used. You'll have a list of available fonts on the left, and a list
  156. of selected fonts on the right. Simply click on the desired font in the
  157. available list, and it will be transfered to the selected list. FontManager
  158. will not allow you to select a font more than once. You can remove a selected
  159. font by clicking on it and pressing the delete button.
  160.     You may also include whole fontpaks when creating a new fontpak. Simply
  161. press the INCLUDE FONTPAK button, select the desired fontpak and it will be
  162. inserted. FontManager will not allow duplicating font's in a fontpak, so don't
  163. worry if an included fontpak includes some fonts that you have already selected
  164. for inclusion.
  165.  
  166. MODIFYING FONTPAKS
  167.  
  168.     This procedure uses exactly the same window as creating a font pack
  169. using font names. It simply starts with the FontPak to modify already loaded
  170. into the selected list. You may add fonts, delete fonts or include other
  171. fontpaks just as when creating a new fontpak.
  172.  
  173. DELETEING FONTPAKS
  174.  
  175.     Another no-brainer. Select DELETE A FONTPAK from the FILES menu, select
  176. the desired FontPak, press Delete, answer yes to another "Are you sure?" query,
  177. and it's gone. If you delete a fontpak by mistake, hopefully you have Norton
  178. Utilities handy.
  179.  
  180. PRINTING THE MASTER CATALOG AND FONTPAK LISTS
  181.  
  182.     Again, very straight forward. You may print to either a PostScript or
  183. other type printer. If you're using a PostScript printer, FontManager will
  184. recognize the selected paper size and print accordingly.
  185.  
  186. SETUP PRINTER
  187.  
  188.     This feature utilizes the small Psetup.DLL created by Costas Kitsos.
  189. It simply allows you access to your printer driver setup feature. If you wish
  190. to actually change selected printers, you will need to do that through Control
  191. Panel.
  192.  
  193. LIST INSTALLED FONTPAKS
  194.  
  195.     This routine is in the "WIN.INI" main menu. It simply displays every
  196. PostScript port you have and the FontPak that is installed on each. If you have
  197. modified an installed FontPak by adding another fontpak or individual fonts to
  198. a port, it will say "CUSTOM". If you have no softfonts installed on a port, it
  199. will say "NONE". If one of the displayed postscript ports is also the active
  200. printer port, that line will be highlighted.
  201.  
  202. CHANGE OR SAVE FONTS
  203.  
  204.     This is the actual routine to make changes to installed softfonts with
  205. FontManger. It is decribed in detail below. If you ever look at WIN.INI in a
  206. text editor after it has been modified by FontManger, you'll see the line:  
  207. ;FONTPAKINSTALLED=[text] immediately preceeding the SOFTFONTS=XX line. This
  208. line is used by FontManger to know what pak is installed on that port. It is
  209. installed as a comment line to preclude it interfering in any way with that
  210. ports functionality.
  211.  
  212. MOVING .PFM and .PFB FILES
  213.  
  214.     If you should move any PFM or PFB files, FontManager will update the
  215. master library file with the new locations the next time UPDATE is run on the
  216. drive that contains the moved files. No changes are necessary to any FontPaks
  217. if any font files are moved. Just Make sure to run UPDATE after moving any
  218. file.
  219.      
  220. CHANGING A PRINTER PORT'S FONT SETUP
  221.  
  222. You may perform any combination of 4 actions in this window:
  223.         
  224. 1. REPLACE A PORT'S FONTPAK:  This action will delete all currently installed
  225. softfonts lines from the selected Port or ports and install the selected font
  226. pack.
  227.  
  228. 2. ADD A FONTPAK TO A PORT:  This action will add the selected FontPak to any
  229. currently installed softfonts installed on the selected port. No exisitng
  230. softfont lines are deleted. 
  231.  
  232. 3. ADD SINGLE FONTS TO A PORT:  This action will add selected single fonts to
  233. any currently existing softfont lines on the selected ports. 
  234.  
  235. 4. SAVE PORT SETUP TO A FONTPAK:  This action will save the softfont
  236. configuration of a selected port to a FontPak file for future use. The FontPak
  237. file created may be printed and modified just like any other FontPak. The SAVE
  238. action is only available when only one port is selected. If you have selected
  239. more than one port, SAVE will not be available.
  240.  
  241.     In steps 1 thru 3, the softfonts=xx line is updated to reflect the
  242. actual number of softfont lines for that port. Additionally, FontManager makes
  243. it impossible to have a font listed more than once in a port section. Even if
  244. you add a fontpak that contains some fonts already in the section, it will not
  245. make duplicate entries for the same font.
  246.  
  247.     You may perform any combination or all of these actions at one time.
  248. You may replace the base fontpak, add a second font pak, and add some
  249. individual fonts.  If your actions only affect one port, you may also save the
  250. final font contents created on that port to a fontpak file.  The SAVE action
  251. may also be used by itself to create a fontpak file from a port's font
  252. configuration.  The only limitation is that you may only ADD one FontPak with
  253. the Add FontPak action. You may add all the single fonts you want.
  254.  
  255. REPLACING AND MODIFYING INSTALLED SOFTFONTS
  256.  
  257.     Modifying a port's installed softfonts is done in two steps. First,
  258. select the printer port(s) you want to change, select a desired action, select
  259. the appropriate FontPak or individual softfonts to use and click on Post
  260. Change. Then select the next desired action, FontPak or fonts and click on
  261. Post Change again. Clicking on Post Change tells the system that you are done
  262. with this action and ready to do another. When you click on Post Change, the
  263. selected Action button line will change from blue to red to indicate this
  264. action will occur when you finally Write Win.Ini. If you find you're working
  265. on the wrong action line, simply click on the correct action line without
  266. pressing Post Change. If you're unsure about an action you have already
  267. comitted (Action button line is red), simply click on that action line again
  268. and make any necessary changes. 
  269.  
  270. NOTE: At this time, there is no way to completely UNDO an action once it has
  271. been committed with Post Change. If you have slected an action and Posted it,
  272. you can change the Port, the FontPak or the individual fonts, but you can't
  273. stop the basic action from occuring when you Write Win.Ini. The only current
  274. way to get out of this situation is to Exit the window and restart it from the
  275. Main Menu.  Candidly, I've run out of room on the window for another command
  276. button to UNDO and I'll need to modify the window to handle this.
  277.  
  278. SELECTED PORTS TO MODIFY
  279.  
  280.     This selection determines which PostScript printer ports will be
  281. modified. When Win.Ini is finally written, all actions will occur for the
  282. Port(s) selected at that time. Thus, you can change the desired ports between
  283. different change actions if the original selections were incorrect. If you have
  284. selected multiple ports, the same changes will be carried out on all the
  285. selected ports.
  286.  
  287. SELECTING INDIVIDUAL FONTS TO ADD TO PORT
  288.  
  289.     The sub-dialog box for this action is very similar to the Create a
  290. FontPak window. Simply enter the Font ID number for the desired font(s) in the
  291. Add Font# text box and press ENTER after each one. Alternatively, you can press
  292. the SHOW FONTS button which will display a list of all fonts in the master
  293. library. When this list is displayed, double clicking on an available font will
  294. place it in the selected list. The list of availbale fonts can be erased by
  295. either pressing SHOW FONTS again, or exiting the Add Individual Fonts action.
  296. If you add an incorrect font ID, simply select the bad font in the list and
  297. press Delete Font. The printer resident box is straight forward. When selected,
  298. it indicates fonts are printer resident. When not selected, it indicates fonts
  299. are NOT printer resident. It can be changed for each font added. When the Add
  300. SINGLE Fonts to a Port action button is inactive, the entire Select Individual
  301. Fonts sub-dialog is disabled.
  302.  
  303. POST CHANGE
  304.  
  305.     This command button acts to validate an action. If you're missing
  306. something required for the particular change to occur, you will be prompted
  307. for the missing information. If you do not press Post Change before going to
  308. another Action, the action just left WILL NOT be carried out when Write Win.Ini
  309. is selected.  Post Change also turns the selected Action line red to indicate
  310. that this action will occur when you do Write Win.Ini.
  311.  
  312. WRITE WIN.INI
  313.  
  314.     This is the big one that will actually cause all selected actions and
  315. changes to be made to Win.ini. If you select Write Win.Ini by mistake, there is
  316. still a dialog box which summarizes all your changes where you'll be able to
  317. abort. Even if you don't abort here and discover a problem, Win.Ini is saved
  318. to a file named WIN.WFM in your windows directory which may be manually copied
  319. back to WIN.INI to restore the previous setup. In the next revision, the option
  320. to do this automatically will be added.
  321.     Write Win.Ini also forces Windows to re-read Win.Ini and update the
  322. system resources. Thus, all changes you make with FontManager are immediately
  323. available to all Windows apps. This is accomplished by sending the
  324. wm_WININICHANGE message. If a running app does not respond to this message by
  325. updateing it's font resources, you'll have to close and re-open that app for
  326. the new fonts to be available in it. Unfortuneatly, PageMaker and Word for
  327. Windows are two big ones that don't update their font resources even when
  328. notified by windows of a change in resources.
  329.  
  330. SUMMARY MESSAGE BOX
  331.  
  332.     After selecting Write Win.Ini to make your changes, you'll get a dialog
  333. box that summarizes what changes will be made. It will also give you the option
  334. of aborting these changes and return to the Change Window. 
  335.  
  336. IF YOU'RE NOT SURE
  337.  
  338.     If you make some complex changes to a port and aren't sure about their
  339. accuracy, simply start over and do it again.  
  340.  
  341. ADDING MULTIPLE FONTPAKS TO A PORT
  342.  
  343.     You may ADD multiple font packs to a port by doing it one at a time.
  344. Select ADD a FontPak to a Port, select the port and FontPak, press Post Change,
  345. Write Win.ini and repeat  these steps until all the desired FontPaks have been
  346. added to the port. Just remember that Win.Ini has a practical limit of
  347. somewhere around 150 fonts.
  348.  
  349. ORDER ACTIONS ARE CARRIED OUT
  350.  
  351.     Actions are carried out in the same order the Action Button Lines are
  352. displayed in the window. Save Port to a FontPak is the last action. This allows
  353. you to make any combination or all of the first three Actions and save the
  354. result of those Actions to a new FontPak in one pass. Remember, the SAVE action
  355. is only available if you're acting on only a single port. If you select more
  356. than one port, the SAVE action is disabled.
  357.  
  358. AVAILABLE FONTPAKS
  359.  
  360.     The Available FontPak list displays FontPaks with their ".FP" file
  361. extensions which FontManager adds to the names of all FontPak files. Whenever
  362. you are asked for a FontPak name, you DO NOT need to enter this extension.
  363. Doing so, however, won't hurt a thing. 
  364.  
  365. THE APP LAUNCHER:
  366.  
  367.     FontManager incorporates an application launcher to allow you to immediately open any apps directly from FontManager. Simply double click on the desired application file or an associated document file from the drive\directory\file list box that is displayed.
  368.     You may also open Control Panel directly from FontManager with the Control Panel menu item under the FILES menu.
  369.  
  370. GENERAL - SCREEN DESIGNS vs SCREEN RESOLUTION
  371.  
  372.     The windows in FontManger were written to look the best on high
  373. resolution video systems, 1024x768 in particular. They display just fine in
  374. std VGA mode, but do look a little "Horsey" to steal a Kathleen Tinkel phrase.
  375. I just felt most people with enough fonts to need this program would have
  376. better than VGA resolution video systems.
  377.  
  378. FONT ID NUMBERS
  379.  
  380.     During Initial Setup and Update, FontManager assigns Font ID Numbers
  381. to each font it adds to the Master Font Library. These Font ID Numbers are used
  382. when creating new fontpaks and when adding individual fonts to a printer port.
  383. When FontManager is initally setup, these Font ID numbers are in the same order
  384. as the alphabetical order of the full font names. As the UPDATE routine adds
  385. newly installed fonts, they are added to the end of the master file and their
  386. Font ID numbers have no relationship to any alphabetical order. Thus, if the
  387. 1789th font added to the library is named AARDVARK, it will have the Font ID
  388. number 1789 and not 1. Just don't be surprised when you print a Master Font
  389. Library Catalog which is ordered alphabetically by full font name and the Font
  390. ID numbers are not in order.
  391.  
  392. VIEW/EDIT WIN.INI
  393.  
  394.     Selecting this option under the FILES menu will display the current
  395. WIN.INI file in a text box. You may move through this text box with the scroll
  396. bars, up/down arrows or page up/page down keys. You may also edit WIN.INI in
  397. this text box. All the standard Windows text box editing tools are available.
  398. Save the edited version by selecting SAVE from the FILE menu. If you save an
  399. edited version of WIN.INI, Windows will re-read it immediately.
  400.  
  401. WHO'S RESPONSIBLE?
  402.  
  403. The guy below did it, and he'd sure appreciate any comments about problems or
  404. ways to improve this program. If you need to get ahold of me, I can be reached
  405. at:
  406.  
  407.     Dennis Harrington
  408.     7300 Evergreen Way
  409.     Everett, Wa. 98203
  410.     (206) 355-6690
  411.     CIS id: 76216,3472
  412.  
  413. THERE IS NO REGISTRATION FEE OR ANY OTHER FEES NEEDED TO USE FontManager. It is
  414. totally public domain freeware. Please feel free to share it with anyone you
  415. want if you find it helpful. Consider it my token of appreciation for all the
  416. help I've received from the members of the DTP forum on CIS. The author sure
  417. wouldn't turn down any C notes, though.
  418.  
  419. IF FONTMANAGER SHOULD CAUSE ANY PROBLEMS OF ANY KIND, PLEASE LET ME KNOW, BUT PLEASE FULLY UNDERSTAND THAT THERE ARE NO WARRANTIES, PROMISES OR GUARANTEES THAT FONTMANGER WILL DO ANYTHING OTHER THAN TAKE UP GOOD DISK SPACE. PLEASE CONSIDER THIS AS THE OLD "I AIN'T RESPONSIBLE FOR NOTHIN" DISCLAIMER.
  420.